package com.zeus.mapper;

import com.zeus.pojo.Orders;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 冯扬龙
 * @date 2021/4/23 20:48
 */
public interface OrdersMapper {

//    显示订单详细信息
    public List<Orders> selectOrderList();

//通过前端传过来的orderId,快递单号，快递信息来修改商品状态，让前台可以看到商品发货了
    public int updateOrderByShip(@Param(value = "orderId") int orderId, @Param(value = "shipName") String shipName, @Param(value = "shipNumber") String shipNumber);
}
